﻿import request from '/@/utils/request';
enum Api {
  AddKerrypluscarorder = '/api/kerrypluscarorder/add',
  DeleteKerrypluscarorder = '/api/kerrypluscarorder/delete',
  UpdateKerrypluscarorder = '/api/kerrypluscarorder/update',
  PageKerrypluscarorder = '/api/kerrypluscarorder/page',
  DetailKerrypluscarorder = '/api/kerrypluscarorder/detail',
}

// 增加订单信息
export const addKerrypluscarorder = (params?: any) =>
	request({
		url: Api.AddKerrypluscarorder,
		method: 'post',
		data: params,
	});

// 删除订单信息
export const deleteKerrypluscarorder = (params?: any) => 
	request({
			url: Api.DeleteKerrypluscarorder,
			method: 'post',
			data: params,
		});

// 编辑订单信息
export const updateKerrypluscarorder = (params?: any) => 
	request({
			url: Api.UpdateKerrypluscarorder,
			method: 'post',
			data: params,
		});

// 分页查询订单信息
export const pageKerrypluscarorder = (params?: any) => 
	request({
			url: Api.PageKerrypluscarorder,
			method: 'post',
			data: params,
		});

// 详情订单信息
export const detailKerrypluscarorder = (id: any) => 
	request({
			url: Api.DetailKerrypluscarorder,
			method: 'get',
			data: { id },
		});


